package com.appointment.dao;

import java.util.List;

import com.appointment.annotation.MyBatisRepository;
import com.appointment.entity.Score;
import com.appointment.entity.scoresPage;

@MyBatisRepository
public interface ScoresDao {
	
	//通过号码查找信息
	public Score[] findScoresByStuNumber(String stu_number);
	
	//添加用户信息
	public void addScores(Score score);
	
	//通过号码查找未处理信息
	public Score findScoredByStuNumber(String stu_number);
	
	//更新用户信息
	public void updateScoresById(int id);

	//得到未处理信息
	public List<Score> findscores(scoresPage page);
	
	public int findnumed();
	
	//不处理用户信息
	public void errorScoresById(int id);
	
	//处理信息
	public List<Score> findscoresed(scoresPage page);

	public int findnums();
}
